<?php  get_header(); ?>
<div class="videobox">
    	<div class="viewbox">
        <?php
			while ( have_posts() ) : the_post();
			
			$intg = get_post_meta($post->ID,'_integration',true);
			if(empty($intg)){ $intg = 0; }else{ $intg = $intg;}  
		?>
        	<div class="info">
        	<h2><?php the_title(); ?></h2> 
            <div class="tminfo"><a href="<?php bloginfo('url'); ?>">主页</a> &gt;
<a href="/video/douga.html">  
ttt
</a> &gt; <i><?php the_time('Y-m-d'); ?>&nbsp;<?php the_time('H:i'); ?></i>播放:<i id="dianji"><?php  the_views(); ?></i>收藏:<i id="stow_count"><?php leizi_add_collect(); ?></i>评分:<i><span title="视频积分" id="v_cscores"><?php echo $intg; ?></span></i><span style="cursor:pointer;" class="jubao" onclick="jbfuc();">举报视频</span></div>
            <div class="sf"> <a id="assdown" target="_blank" class="ass" href="/ass/358489.html"></a> <a style="cursor:pointer" class="f" onclick="var quote_offset = $('.quote').offset();$(window).scrollTop(quote_offset.top-80);"></a> <a class="s" onclick="addcollect<?php echo $post->ID; ?>();" href="javascript:void(0);"></a> </div>
            
            <div class="stowbox"></div>
            </div>
            <div class="alist"><div id="alist"></div></div>         
        </div>
		  		<div class="upinfo">
            <div class="u-face"><img src="http://i0.hdslb.com/user/1845/184568/myface_m.jpg"></div>
            <div class="r-info">
                <div id="r-info-rank" class="usname r10000"> <a target="_blank" card="烤夜雀" href="#">烤夜雀</a></div>
                <div class="sign"></div>
                <b class="f" mid="184568" href="javascript:;"><a>关注他</a></b><a class="m" target="_blank" href="#">历史投稿</a>
            </div>
        </div>
    <div class="ad-f"><div class="left">广告区域</div><div class="right">广告区域</div></div>
    <div id="bofqi" class="scontent">
	<!-- <P style="width:950px; height:482px; background:#e0e0e0; text-align:center;"></P>-->    
	<?php the_content(); ?>
    </div>
    <div class="s_center">
    	<div class="s_div">
    	<div class="s_tag">
        <b>TAG:</b>
        <ul class="tag">
        	
        <li><a target="_blank" href="/sp/东方"><img title="专题" src="http://static.hdslb.com/images/btn/btn_zhuan2.gif"></a><a href="javascript:;">东方</a></li></ul>
		        <span id="newtag"><a onclick="return addNewTag(358489)" href="javascript:;">增加新TAG</a></span>
		        </div>
				<div class="intro">
                <?php the_excerpt(); ?></div>
		        </div>
        <div class="quote">
            <div class="oneclick">
<a onclick="return shareTo163(wb_info,wb_url,'')" href="#"><span class="weibo_163"></span>网易微博</a>
<a onclick="return shareToQQ(wb_info,wb_url,wb_img)" href="#"><span class="weibo_qq"></span>腾讯微博</a>
<a onclick="return shareToSohu(wb_info,wb_full_url,wb_img)" href="#"><span class="weibo_sohu"></span>搜狐微博</a>
<span id="weibo_sina"><iframe width="72" scrolling="no" height="16" frameborder="0" src="http://hits.sinajs.cn/A1/weiboshare.html?url=http%3A%2F%2Fwww.bilibili.tv%2Fvideo%2Fav358489%2Findex.html&amp;type=3&amp;count=1&amp;appkey=1727689474&amp;title=%E3%80%90%E6%9D%B1%E6%96%B9%E3%80%91%E5%9C%A8%E9%82%A3%E9%97%A8%E6%89%89%E7%9A%84%E5%8F%A6%E4%B8%80%E4%BE%A7%20%20%20UP%E4%B8%BB%EF%BC%9A%E7%83%A4%E5%A4%9C%E9%9B%80&amp;pic=http%3A%2F%2Fi1.hdslb.com%2Fuser%2F1845%2F184568%2F1347816156e43cd6fac7cfe1e1.jpg&amp;ralateUid=&amp;language=zh_cn&amp;rnd=1348627467279" allowtransparency="true"></iframe></span></div>
  		</div>
		</div>
    </div>
    <div class="ad ad-e1">广告区域</div>
    <div class="ad ad-e2">广告区域</div>
    <div style="overflow:hidden">
    <div class="large left">
    	<div class="z-l">
        	<div class="comm">
            	<div class="comm_bg"></div>
<!--		<img border="0" style="cursor:pointer" onclick="loadFB(358489,1);" class="comm_open_btn" src="http://static.hdslb.com/images/morecomm.gif">
-->                
			<?php comments_template( '', true ); ?> 
            </div>
        </div>
    </div>
    <div class="small right">
            <script type="text/javascript">
            $(document).ready(function(){
                function loading_show(){
                    $('#loading').html("<img src='images/loading.gif'/>").fadeIn('fast');
                }
                function loading_hide(){
                    $('#loading').fadeOut('fast');
                }                
                function loadData(page){
                    loading_show();                    
                    $.ajax
                    ({
                        type: "POST",
                        url: "<?php bloginfo('template_url'); ?>/inc/wp-load.php",
                        data: "page="+page,
                        success: function(msg)
                        {
                            $("#pager_nav").ajaxComplete(function(event, request, settings)
                            {
                                loading_hide();
                                $("#pager_nav").html(msg);
                            });
                        }
                    });
                }
                loadData(1);  // For first time page load default results
                $('#pager_nav .pagination li.active').live('click',function(){
                    var page = $(this).attr('p');
                    loadData(page);
                    
                });           
            });
        </script>
    <div class="z-r">
    	<div class="comm_bg"></div>
    	<div id="arc_r_box" class="arc_r_box"> 
<!--    <img border="0" style=" margin:15px;cursor:pointer" onclick="loadrating('aid=358489');" src="http://static.hdslb.com/images/morerat.gif"> 
-->       
 		<ul class="rat_list"></ul>
        <div id="pager_nav">
        <div class="data">
        </div>        
        <div class="pagination"></div>
        </div>
        <div id="rating_page" class="pagelistbox">
        <?php if(is_user_logged_in()){ ?>
        <?php  
		$current_user = wp_get_current_user();
		?>
        <form>
            <input type="hidden" id="rating" name="rating" value="5">
            <input type="hidden" id="userid" name="userid" value="<?php echo $current_user->ID;  ?>">
            <input type="hidden" id="username" name="username" value="<?php echo $current_user->user_login;  ?>">
            <input type="hidden" id="postid" name="postid" value="<?php echo $post->ID; ?>">
            <ul class="ratin">
                <li class="on" v="5" id="r5">+5</li>
                <input type="button" id="ratconfirm" value="确认" class="button" onclick="ratingfuc();">
            </ul>
        </form>  
        <?php } ?>     
        </div>
        </div>
    </div>
  </div>
  </div>
  <div class="ad ad-e3">
		广告一	
  </div>
  <div class="ad ad-e4">
    	广告二
  </div>
<div id="dialog-form" title="举报" style="display:none;">
    <form>
    <fieldset>
        <label for="name">嫌疑人</label>
        <input type="text" name="name" disabled="disabled" id="name" class="text ui-widget-content ui-corner-all" value="<?php the_author(); ?>" /><br />
        
        <label for="jburl">案发现场</label>
        <input type="text" name="jburl" disabled="disabled" id="jburl" class="text ui-widget-content ui-corner-all" value="<?php the_permalink(); ?>" /><br />
        
        <label for="jbcontent">举报原因</label>
        <textarea cols="35" rows="5" id="jbcontent"></textarea><br />
        <input type="hidden" value="<?php echo $post->ID; ?>" id="postid"  />
        
    </fieldset>
    </form>
</div>  
<?php  endwhile;  ?>  
<?php  get_footer(); ?> 